using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_ChiTietKeHoachBaoTriEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_ChiTietKeHoachBaoTriEntity()
         {
             tableName = "TBL_ChiTietKeHoachBaoTri";


			 fieldInfos.Add(new FieldInfo("TBL_ChiTietKeHoachBaoTri","DenNgay","DenNgay","string",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietKeHoachBaoTri","GhiChu","GhiChu","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietKeHoachBaoTri","MaCTBaoTri","MaCTBaoTri","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietKeHoachBaoTri","MaKeHoachBT","MaKeHoachBT","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietKeHoachBaoTri","MaPB","MaPB","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietKeHoachBaoTri","TrangThai","TrangThai","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_ChiTietKeHoachBaoTri","TuNgay","TuNgay","string",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_DenNgay;
		 protected string m_GhiChu;
		 protected string m_MaCTBaoTri;
		 protected string m_MaKeHoachBT;
		 protected string m_MaPB;
		 protected string m_TrangThai;
		 protected string m_TuNgay;

		 public string DenNgay

          { 
                get { 
                    return m_DenNgay;}

                set{m_DenNgay=value;

                    GetField("DenNgay").Set();
                    GetField("DenNgay").IsNull=(value == null);           
                    }
          }
		 public string GhiChu

          { 
                get { 
                    return m_GhiChu;}

                set{m_GhiChu=value;

                    GetField("GhiChu").Set();
                    GetField("GhiChu").IsNull=(value == null);           
                    }
          }
		 public string MaCTBaoTri

          { 
                get { 
                    return m_MaCTBaoTri;}

                set{m_MaCTBaoTri=value;

                    GetField("MaCTBaoTri").Set();
                    GetField("MaCTBaoTri").IsNull=(value == null);           
                    }
          }
		 public string MaKeHoachBT

          { 
                get { 
                    return m_MaKeHoachBT;}

                set{m_MaKeHoachBT=value;

                    GetField("MaKeHoachBT").Set();
                    GetField("MaKeHoachBT").IsNull=(value == null);           
                    }
          }
		 public string MaPB

          { 
                get { 
                    return m_MaPB;}

                set{m_MaPB=value;

                    GetField("MaPB").Set();
                    GetField("MaPB").IsNull=(value == null);           
                    }
          }
		 public string TrangThai

          { 
                get { 
                    return m_TrangThai;}

                set{m_TrangThai=value;

                    GetField("TrangThai").Set();
                    GetField("TrangThai").IsNull=(value == null);           
                    }
          }
		 public string TuNgay

          { 
                get { 
                    return m_TuNgay;}

                set{m_TuNgay=value;

                    GetField("TuNgay").Set();
                    GetField("TuNgay").IsNull=(value == null);           
                    }
          }

}
}
